package com.css.zfzx.fxpg.modules.buildings.data.repository;

import com.css.zfzx.fxpg.modules.buildings.data.repository.entity.FxBuildingsEntity;
import com.css.zfzx.fxpg.modules.buildings.data.viewobjects.FxBuildingsQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author andy
 * @date 2020-11-11
 */
public interface FxBuildingsNativeRepository {

    Page<FxBuildingsEntity> queryFxBuildings(FxBuildingsQueryParams queryParams, int curPage, int pageSize);

    List<FxBuildingsEntity> listFxBuildings(FxBuildingsQueryParams queryParams);

    List<FxBuildingsEntity> searchFxBuildings(FxBuildingsQueryParams queryParams);
}
